#include <iostream>
using namespace std;
#define ll long long

signed main()
{
	ll t;
	cin>>t;
	ll a,b,c;
	for(ll i=1;i<=t;i++){
		cin>>a>>b>>c;
		if(a+b>c){
			cout<<"Case #"<<i<<": true"<<endl;
		}
		else{
			cout<<"Case #"<<i<<": false"<<endl;
		}
	}
	return 0;
 } 
